package com.ssy.lingxi.order.api.model.vo.request;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 内部接口 - 结算服务 - 付款完成后修改订单收发货记录状态为已结算请求参数
 * @author wyx
 * @version 2.0.0
 * @date 2022-01-11
 */
public class OrderUpdateDeliveriesFeignVO implements Serializable {
    private static final long serialVersionUID = 1684318396202988108L;
    /**
     * 订单Id
     */
    @NotNull(message = "订单Id要大于0")
    @Positive(message = "订单Id要大于0")
    private Long orderId;

    /**
     * 发货批次
     */
    @NotNull(message = "发货批次不能为空")
    private Integer batchNo;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Integer getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(Integer batchNo) {
        this.batchNo = batchNo;
    }
}
